package org.example.lost;

import com.github.xiaoymin.knife4j.spring.annotations.EnableKnife4j;
import javafx.application.Application;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Component;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @Author hxy
 * @Date 2021/3/11 22:33
 * @Version 1.0
 */
@SpringBootApplication
@EnableSwagger2
@EnableKnife4j
@ComponentScan("org.example")
//@MapperScan("com.example.lost.mapper")
public class LostApplication {
    public static void main(String[] args) {
        SpringApplication.run(LostApplication.class,args);

    }

    /*@Bean
    public PasswordEncoder passwordEncoder(){
        return new BCryptPasswordEncoder();
    }*/
}
